
package com.p2p.account.service.impl;

import com.p2p.account.mapper.AccountMapper;
import com.p2p.account.mapper.AgentMapper;
import com.p2p.account.po.Account;
import com.p2p.account.po.Agent;
import com.p2p.account.service.AccountService;
import com.p2p.account.service.AgentService;
import com.p2p.account.vo.AgentVo;
import com.p2p.common.base.BaseServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl extends BaseServiceImpl<AccountMapper, Account> implements AccountService {
    private static final Logger logger = LoggerFactory.getLogger(AccountServiceImpl.class);
    @Autowired
    private AccountMapper accountMapper;


    @Override
    public List<Account> selectLists(Integer startRow, Integer pageSize,String sortField,String orderField,String agentid,String coinid,String poolContent) {
        return accountMapper.selectLists(startRow,pageSize,sortField,orderField,agentid,coinid,poolContent);
    }
}
